package com.example.module.ai.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Setter
@Getter
public class NotifyEvent extends ApplicationEvent {

    /**
     * id类型，1：sessionId，2：userId
     */
    private Integer idType;
    private String id;
    private String message;

    public NotifyEvent(Object source, Integer idType, String id, String message) {
        super(source);
        this.idType = idType;
        this.id = id;
        this.message = message;
    }

}
